From a237c124b07c07429dad601b5b8b3a9eab55c1e0 Mon Sep 17 00:00:00 2001 From: robertl Date: Sat, 25 Jan 2003 18:21:28 +0000 Subject: [PATCH] Whack newline from icons when read. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@259 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/gpsdrive.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gpsbabel/gpsdrive.c b/gpsbabel/gpsdrive.c index 64cb3a218..8fc02614e 100644 --- a/gpsbabel/gpsdrive.c +++ b/gpsbabel/gpsdrive.c @@ -107,6 +107,7 @@ data_read(void) wpt_tmp->position.longitude.degrees = atof(s); break; case 3: + rtrim(s); wpt_tmp->icon_descr = xstrdup(s); break; default: -- 2.30.2